#include <bits/stdc++.h>
using namespace std;
int n, m, k;
int a[10000]
int main()
{
    freopen("arena","r",stdin)
    freopen("arena","w",stdout)
    return 0;
}
